package headfirst.command;

public class Light {

	String location;

	public Light(String location) {
		this.location = location;
	}

	void on() {
		System.out.println(location+" Light is on");
	}

	void off() {
		System.out.println(location+" Light is off");
	}
}
